package org.god.ibatis.core;

import java.util.Map;

public class SqlSessionFactory {

    private  Transaction transaction;

    private Map<String,MappedStatement> mappedStatementMap;
    public SqlSessionFactory() {
    }

    public SqlSessionFactory(Transaction transaction, Map<String, MappedStatement> mappedStatementMap) {
        this.transaction = transaction;
        this.mappedStatementMap = mappedStatementMap;
    }

    public SqlSession openSession(){
        return new SqlSession();
    }
}
